Click or drag to resize
Accord.NET (logo)

VectorKHot Method

Overload List
  NameDescription
Public methodStatic memberKHotT(Boolean)
Creates a k-hot vector, where all values are zero except for the elements at the positions where mask is true, which are set to one.
Public methodStatic memberKHotT(Boolean, T)
Creates a k-hot vector, where all values are zero except for the elements at the positions where mask is true, which are set to one.
Public methodStatic memberKHot(Int32, Double)
Creates a k-hot vector, where all values are zero except for the elements at the indicated indices, which are set to one.
Public methodStatic memberKHotT(Int32, Int32)
Creates a k-hot vector, where all values are zero except for the elements at the indicated indices, which are set to one.
Public methodStatic memberKHot(Int32, Int32)
Creates a k-hot vector, where all values are zero except for the elements at the indicated indices, which are set to one.
Public methodStatic memberKHotT(Int32, T)
Creates a k-hot vector, where all values are zero except for the elements at the indicated indices, which are set to one.
Top
See Also