private vector_double_new3 ( [ data, IntPtr dataLength ) : IntPtr | ||
data | [ | |
dataLength | IntPtr | |
리턴 | IntPtr |
/// <summary> /// /// </summary> /// <param name="data"></param> public VectorOfDouble(IEnumerable <double> data) { if (data == null) { throw new ArgumentNullException(nameof(data)); } double[] array = EnumerableEx.ToArray(data); ptr = NativeMethods.vector_double_new3(array, new IntPtr(array.Length)); }