Beakerboy / Beakerboy/VBA-Math-Objects
VBA-Math-Objects Errors in Matrix.cls and Vector.cls
- Dominant language
- VBA
- Stars
- 10
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Hi, Thanks for your efforts and sharing's
When I compile your codes
in Matrix.cls file:
Public Function ReplaceRow(iNum, inRow As Vector) As Matrix
If Me.N <> inRow.N Then
Should be corrected. Vector does not have N
If Me.N <> inRow.M Then
in Vector.cls file
Public Function Magnitude()
Sum = 0
Should be corrected. Vector has a Sum function also
Public Function Magnitude()
dsum = 0
For i = 1 To Me.M
dsum = dsum + dA(i, 1) ^ 2
Next i
Magnitude = Math.sqr(dsum)
End Function
Good days
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by compiling Matrix.cls and Vector.cls to reproduce the reported errors. Review ReplaceRow in Matrix.cls and Magnitude in Vector.cls, then verify that the corrected member references compile and the magnitude calculation still works as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- visualbasic
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100