VectorKHot Method |
Name | Description | |
---|---|---|
KHotT(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.
| |
KHotT(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.
| |
KHot(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.
| |
KHotT(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.
| |
KHot(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.
| |
KHotT(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.
|