Esempio n. 1
0
        public int ToDoubleComplex(byte[] bytes, int startIndex, int count, out DoubleComplex[] values)
        {
            values = new DoubleComplex[count];

            for (int i = 0; i < count; i++)
            {
                ToDoubleComplex(bytes, startIndex + i * 16, out values[i]);
            }

            return count * 16;
        }
Esempio n. 2
0
 public unsafe void GetBytes(DoubleComplex value, byte[] bytes, int startIndex)
 {
     GetBytes((byte*)&value, bytes, startIndex, 16);
 }
Esempio n. 3
0
 public int ToDoubleComplex(byte[] bytes, int startIndex, out DoubleComplex value)
 {
     value = ToDoubleComplex(bytes, startIndex);
     return 16;
 }