Exemple #1
0
 /// <summary>Used to construct a scalar operations</summary>
 /// <param name="operationName">The name of the operation (e.g. "atan2"; use one of the supplied constants like ATAN2.)</param>
 /// <param name="A">The first operand. Only the scalarpart is used.</param>
 /// <param name="B">The second operand. Only the scalarpart is used.</param>
 public BinaryScalarOp(string operationName, Multivector A, Multivector B)
 {
     m_opName = operationName;
     m_value1 = A.ScalarPart();
     m_value2 = B.ScalarPart();
 }
Exemple #2
0
 /// <summary>Used to construct a scalar operations</summary>
 /// <param name="operationName">The name of the operation (e.g. "atan2"; use one of the supplied constants like ATAN2.)</param>
 /// <param name="A">The first operand. Only the scalarpart is used.</param>
 /// <param name="B">The second operand. Only the scalarpart is used.</param>
 public BinaryScalarOp(string operationName, Multivector A, Multivector B)
 {
     m_opName = operationName;
     m_value1 = A.ScalarPart();
     m_value2 = B.ScalarPart();
 }
Exemple #3
0
 /// <summary>Used to construct a scalar operations</summary>
 /// <param name="operationName">The name of the operation (e.g. "inverse", "sqrt", "log"; use one of the supplied constants like INVERSE, SQRT or LOG.)</param>
 /// <param name="A">The value upon which the ScalarOp will operate. 
 /// Only the scalarpart is used of A is used.</param>
 public UnaryScalarOp(string operationName, Multivector A)
 {
     m_opName = operationName;
     m_value = A.ScalarPart();
 }
Exemple #4
0
 /// <summary>Used to construct a scalar operations</summary>
 /// <param name="operationName">The name of the operation (e.g. "inverse", "sqrt", "log"; use one of the supplied constants like INVERSE, SQRT or LOG.)</param>
 /// <param name="A">The value upon which the ScalarOp will operate.
 /// Only the scalarpart is used of A is used.</param>
 public UnaryScalarOp(string operationName, Multivector A)
 {
     m_opName = operationName;
     m_value  = A.ScalarPart();
 }