klyn.math.NDArray.fromList
method
public static fromList(values as IList<T>) as NDArray<T>:
DescriptionCreates a 1D NDArray from a list.
a = NDArray<Int>.fromList([3, 1, 4, 1, 5])
ReturnsA 1D NDArray. ``` a = NDArray<Int>.fromList([3, 1, 4, 1, 5]) ```