NewI16 creates a I16 Since 0.2.0
(index []int32, elts []int16)
| 137 | // |
| 138 | // Since 0.2.0 |
| 139 | func NewI16(index []int32, elts []int16) (a *I16, err error) { |
| 140 | a = &I16{} |
| 141 | err = a.Init(index, elts) |
| 142 | if err != nil { |
| 143 | a = nil |
| 144 | } |
| 145 | return a, err |
| 146 | } |
| 147 | |
| 148 | // Get returns value at "idx" and a bool indicating if the value is |
| 149 | // found. |