Creates a vector expression for a binary operator with left and right hand side arguments.
The root binary operator.
The left hand side argument for the root operator.
The right hand side argument for the root operator.
The accessor function which defines what the i
th element should be.
Creates a vector expression for a binary operator with left and right hand side arguments.
The root binary operator.
The argument for the root operator.
The accessor function which defines what the i
th element should be.
Returns the components of this
vector. The index values start
from 1
instead of the commonly used starting index 0
.
The argument for this.op
.
The left hand side operand for this.op
.
Evaluates and returns the negated value of a vector constant. A negative vector \( - \overrightarrow{A} \) is defined such that
\[ \overrightarrow{A} + \left( - \overrightarrow{A} \right) = \overrightarrow{0} \].
Component wise, if \( \overrightarrow{A} = a_i \hat{e_i} \), it can be expressed as
\[ - \overrightarrow{A} = -a_i \hat{e_i} \].
The right hand side operand for this.op
.
Creates and returns a Vector.Expression for the addition of
two Vector objects. The type of that
does not matter because
adding an unknown vector/vector expression to another vector always
results in an expression.
Expression for sum of this
and that
.
Evaluates this Vector.Expression at the given values for the
Variable objects this
depends on. In case this
is not a
function of any of the variables in the mapping then this
is returned
as is.
The result after evaluating this
at the given values.
Creates and returns a Vector.Expression for the cross product of
two Vector objects. The type of that
does not matter because
cross multiplying an unknown vector/vector expression to another vector
always results
in an expression.
Expression for vector product of this
and that
.
Creates and returns a Vector.Expression for the dot product of
two Vector objects. The type of that
does not matter because
dot multiplying an unknown vector/vector expression with another vector
always results
in an expression.
Expression for inner product of this
and that
.
Checks whether a method exists on the object or as a static member of the class.
Name of the method.
Checks whether this
Vector.Expression depends on a given
Variable.
The Variable to check against.
Creates and returns a Vector.Expression for the scaling of
this
Vector object. The type of that
does not matter because
scaling an unknown vector/vector expression always results in an expression.
The scale factor.
Expression for scaling this
.
Creates and returns a Vector.Expression for the subtraction of
two Vector objects. The type of that
does not matter because
subtracting an unknown vector/vector expression from another vector
always results in an expression.
Expression for subtracting that
from this
.
Computes the magnitude of a constant vector numerically.
Computes the magnitude of a given vector. If A
vector is a constant
vector then numerically calculates the magnitude otherwise creates a
scalar Expression and returns the same.
For a given constant vector A
, numerically evaluates the unit vector along A
.
The Vector.Constant along which the unit vector is to be calculated.
The unit vector along the given Vector A
.
For a given variable vector A
, creates an Expression for the unit vector along A
.
The Vector.Constant along which the unit vector is to be calculated.
The unit vector along the given Vector A
.
Generated using TypeDoc
Represents vector expressions. That is, all the vector components are either Scalar.Constants or Scalar.Variables or Scalar.Variables or Scalar.Expressions. All the components are interpreted as in the Cartesian system.