Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

/// <reference types="@stdlib/types"/>

import { ndarray } from '@stdlib/types/ndarray';
import { typedndarray } from '@stdlib/types/ndarray';

/**
* Computes the dot product of two one-dimensional ndarrays.
Expand All @@ -40,7 +40,7 @@ import { ndarray } from '@stdlib/types/ndarray';
* var z = gdot( [ x, y ] );
* // returns -5.0
*/
declare function gdot<T extends ndarray = ndarray>( arrays: [ T, T ] ): number;
declare function gdot<T extends typedndarray<number> = typedndarray<number>>( arrays: [ T, T ] ): number;


// EXPORTS //
Expand Down