Skip to content

Commit 69183a7

Browse files
committed
Added not equal universal function to tensor API
1 parent 4671a09 commit 69183a7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
- Unreleased
2+
3+
- 1.0.2
24
- Added ref using row elimination method
35
- Added universal comparison methods to tensor API
46
- Added convolve operation to Vector and Matrix

src/Tensor.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,16 @@ public function mod($b);
106106
*/
107107
public function equal($b);
108108

109+
/**
110+
* A universal function to compute the not equal comparison of
111+
* this tensor and another tensor element-wise.
112+
*
113+
* @param mixed $b
114+
* @throws \InvalidArgumentException
115+
* @return mixed
116+
*/
117+
public function notEqual($b);
118+
109119
/**
110120
* A universal function to compute the greater than comparison of a
111121
* tensor and another tensor element-wise.

0 commit comments

Comments
 (0)