Table of Contents

Method CreateByDoubleLoop

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

CreateByDoubleLoop<T>(double, double)

Creates a Vector<T> from double value for loop (创建一个 Vector<T>,其元素来自双精度浮点值的for循环).

public static Vector<T> CreateByDoubleLoop<T>(double start, double step) where T : struct

Parameters

start double

Start value (起始值).

step double

Increments at each step (每一步的增量).

Returns

Vector<T>

A new Vector<T> from a from double value for loop (一个新Vector<T>,其元素来自双精度浮点值的for循环.

Type Parameters

T

The vector element type (向量中的元素的类型).