Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pow by scalar on matrix function #1

Merged
merged 1 commit into from
Dec 12, 2019

Conversation

berezuev
Copy link
Contributor

Example usage

$first  = new Matrix([[10, 20, 30]]);
$value  = $first ** 2;
print_r($value); // [100, 400, 900]

@lisachenko lisachenko merged commit aee0871 into lisachenko:master Dec 12, 2019
@lisachenko
Copy link
Owner

Thanks! )

@lisachenko lisachenko added the enhancement New feature or request label Dec 12, 2019
@lisachenko lisachenko added this to the 0.2.0 milestone Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants