You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@types/numeric

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/numeric - npm Package Compare versions

Comparing version
1.2.0
to
1.2.1
+10
-10
numeric/index.d.ts

@@ -143,8 +143,8 @@ // Type definitions for numeric 1.2

dim(arr: any): Vector;
// x and y are entrywise identical
// x and y are entrywise identical
same(x: any, y: any): boolean;
// Create an Array by duplicating values
// Create an Array by duplicating values
rep<T>(scale: Vector, value: T, key?: number): MultidimensionalArray<T>;
// Matrix-Matrix, Matrix-Vector, Vector-Matrix and Vector-Vector product
// Matrix-Matrix, Matrix-Vector, Vector-Matrix and Vector-Vector product
dot(

@@ -209,3 +209,3 @@ x: Vector | Matrix | Scalar,

// Poinwise Math.floor(x)
// Poinwise Math.floor(x)
floor<T extends NonScalar>(x: T): T;

@@ -222,3 +222,3 @@ floorV(x: Vector): Vector;

// Pointwise Math.round(x)
// Pointwise Math.round(x)
round<T extends NonScalar>(x: T): T;

@@ -484,3 +484,3 @@ roundV(x: Vector): Vector;

// Pointwise logical or x||y
// Pointwise logical or x||y
or(x: Scalar, y: Scalar, ...args: Scalar[]): Scalar;

@@ -815,3 +815,3 @@ or(

// Pointwise arc-tangent (two parameters)
// Pointwise arc-tangent (two parameters)
atan2(x: Scalar, y: Scalar, ...args: Scalar[]): Scalar;

@@ -896,7 +896,7 @@ atan2(

// All the components of x are true
// All the components of x are true
all(x: any): boolean;
allV(x: any[]): boolean;
// Sum all the entries of x
// Sum all the entries of x
sum(x: Scalar | Vector | MultidimensionalMatrix): number;

@@ -966,3 +966,3 @@ sumV(x: Vector): number;

tensor(x: Scalar, y: Scalar): Scalar;
// TensorValue product ret[i][j] = x[i]*y[j]
// TensorValue product ret[i][j] = x[i]*y[j]
tensor(x: Vector, y: Vector): Matrix;

@@ -969,0 +969,0 @@

MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "@types/numeric",
"version": "1.2.0",
"version": "1.2.1",
"description": "TypeScript definitions for numeric",

@@ -14,10 +14,12 @@ "license": "MIT",

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/numeric"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "14ab2ee783cebc78c5de6039f5955285ddd3a2ece6d5b341dee6b1e71fb3a5a7",
"typeScriptVersion": "2.9"
"typesPublisherContentHash": "a1519b0d1df4c3828b9aa3db7d6d3946bd282a678b803b40d83a2f3938d3f9db",
"typeScriptVersion": "3.0"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/numeric
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/numeric.
Additional Details
* Last updated: Tue, 11 Sep 2018 02:31:29 GMT
### Additional Details
* Last updated: Fri, 15 May 2020 11:31:27 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Sasha Grin <https://github.com/tup1tsa>.
These definitions were written by [Sasha Grin](https://github.com/tup1tsa).