コード例 #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);