예제 #1
0
 public SymbolicVariable ToVariable(SymbolicVariableName Name)
 => SymbolicVariable.Define(Name, Components.ToArray());
예제 #2
0
 /// <summary>
 /// Constructs a named <see cref="SymbolicVariable"/> value from a component sequence
 /// </summary>
 /// <param name="name">The name of the resulting variable </param>
 /// <param name="components">The components that determine the value of the variable</param>
 /// <returns></returns>
 public static SymbolicVariable symbolic(SymbolicVariableName name, params ISymbolicExpression[] components)
 => SymbolicVariable.Define(name, components);
예제 #3
0
 /// <summary>
 /// Constructs an anonymous <see cref="SymbolicVariable"/> value from a component sequence
 /// </summary>
 /// <param name="components">The components that determine the value of the variable</param>
 /// <returns></returns>
 public static SymbolicVariable symbolic(params ISymbolicExpression[] components)
 => SymbolicVariable.Define(SymbolicVariableName.Empty, components);
예제 #4
0
 /// <summary>
 /// Constructs a named <see cref="SymbolicVariable"/> with no component value
 /// </summary>
 /// <param name="name">The name of the resulting variable</param>
 /// <returns></returns>
 public static SymbolicVariable symbolic(SymbolicVariableName name)
 => SymbolicVariable.Define(name);