000 EiEs 33

Tags:

vCalc's Equation Editor and Constant Editor allow you to select from the library of vCalc equations, constants and data sets and to drag-and-drop these tokens1 into your equation's code or your constant's code.  You can thus use anything that exists in vCalc to create something new and/or more powerful.

This page discusses some of the tokens that have been produced with the specific intent to be used as Equations-in-Equations (EiEs).  These equations do something that might be used frequently in other equations or constants and used as EiEs they are time-saving devices.  These EiEs are like a re-use library of simple standard functions built into vCalc's simple Groovy-based coding environment.

Some EiEs, created as function to be used like stored sub-routines, are very simple in nature.  They do something so we don;t have to re-code that part of the code.  They add a functionality to an equation by simply dragging them into another equation.

Other equations are complicated but still can be used as an EiE. Sometimes it's time saving to drag in a complex equation just to change that equations inputs.

Let's explore some EiE examples.

Contents

Random numbers

Here are equations that generate random numbers and random selection in various forms:

Matrix Functions

1. Trace of a matrix
2. Determinant of a matrix
3. Inverse of a matrix
4. Cramer's rule computation of simultaneous equations
5. Scalar multiplication
6. Minor of a matrix
7. Eigenvalues of a matrix
8. 3-Vector Norm
9. 4-Vector Norm

Logarithms

1. Conversion between Log Bases

Boolean Logic

You do not have permission to execute macro putFootnotes

Equations

• Day Choice EiE
• Month Choice EiE
• Table Lookup EiE
• parse string integers EiE
• Get World City's Lat/Lon
• 4-Vector Norm
• 5-Vector Norm
• Vector Norm
• Roll Five Virtual Cube Dice
• Roll Four Virtual Cube Dice
• Roll Three Virtual Cube Dice
• Roll Two Virtual Cube Dice
• Roll a 100-sided Virtual Dice
• Roll a 50-sided Virtual Dice
• Roll a 20-sided Virtual Dice
• Roll a 12-sided Virtual Dice
• Roll a 10-sided Virtual Dice
• Roll a 8-sided Virtual Dice
• Roll a 7-sided Virtual Dice
• Roll a 6-sided Virtual Dice
• Roll a 5-sided Virtual Dice
• Roll a 4-sided Virtual Dice
• Roll a 3-sided Virtual Dice
• Coin Flip
• Absolute Value of Real Number
• AWG Lookup
• Angle of Vector (v_y, v_x)
• Angle of Vector (|vecv|, v_x)
• Angle of Vector (|vecv|, v_y)
• Magnitude of Position
• Quaternion Magnitude
• Force Magnitude (from components)

References

1. ^ Tokens are the collective name for vCalc's equations, constants, data sets and calculators. Tokens are the things you can create and which vCalc provides an editor with which you can build, duplicate or modify a token.  A token is defines as something that is a symbol or representation of something.