Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
BinaryOperationVector class
Signature
export declare class BinaryOperationVector implements Vector<number>
Import
import { BinaryOperationVector } from '@grafana/data';
Constructors
Properties
Methods
constructor(left, right, operation)
Constructs a new instance of the BinaryOperationVector
class
Signature
constructor(left: Vector<number>, right: Vector<number>, operation: BinaryOperation);
Parameters
length property
Signature
get length(): number;
get method
Signature
get(index: number): number;
Parameters
Returns:
number
toArray method
Signature
toArray(): number[];
Returns:
number[]
toJSON method
Signature
toJSON(): number[];
Returns:
number[]