80 Commits

Author SHA1 Message Date
Palash Tyagi
b17863dcdc Organize code structure by adding section comments 2025-05-03 01:18:24 +01:00
Palash Tyagi
ac0eed2d56 Add comprehensive arithmetic and boolean logic tests for Matrix operations 2025-05-03 01:17:01 +01:00
Palash Tyagi
73a30d45c5 Rename test matrix creation functions for clarity and consistency 2025-05-03 01:16:33 +01:00
Palash Tyagi
3cb68be062 Refactor element-wise arithmetic operations to use a centralized dimension check for improved error handling 2025-05-03 01:11:59 +01:00
Palash Tyagi
ca734fbedf Enhance bitwise operations for boolean matrices and implement logical NOT for both owned and borrowed matrices 2025-05-03 00:39:08 +01:00
Palash Tyagi
36a0846efa Enhance element-wise arithmetic operations for Matrix + Scalar to support in-place modifications and improve performance 2025-05-03 00:38:07 +01:00
Palash Tyagi
7f587a7b7e Enhance element-wise arithmetic operations for Matrix to support multiple ownership variants and improve in-place modifications 2025-05-03 00:37:06 +01:00
Palash Tyagi
a30a7101e8 Refactor element-wise comparison macro to improve naming consistency 2025-05-03 00:36:03 +01:00
Palash Tyagi
10c6116f8f Enhance element-wise comparison methods to optimize data handling 2025-05-03 00:35:34 +01:00
Palash Tyagi
ecb1939ec2 Enhance error messages in Broadcastable trait to clarify row and column count mismatches 2025-05-03 00:32:46 +01:00
Palash Tyagi
bdd0a23096 Enhance add_column and add_row methods to handle empty matrices and improve error handling 2025-05-03 00:31:11 +01:00
Palash Tyagi
4c02006153 Optimize column swapping logic to handle empty matrices and prevent unnecessary swaps 2025-05-03 00:29:14 +01:00
Palash Tyagi
9fd3582061 Refactor delete_row method to improve bounds checking and optimize data rebuilding 2025-05-03 00:26:43 +01:00
Palash Tyagi
8574d86abc Enhance delete_column method to improve efficiency of column removal 2025-05-03 00:26:21 +01:00
Palash Tyagi
20727a2b91 Improve column swapping logic to handle empty matrices and prevent overlapping swaps 2025-05-03 00:25:45 +01:00
Palash Tyagi
f91ddc5c41 Improve assertions and documentation for matrix operations; allow 0-row matrices from empty columns. 2025-05-01 23:56:06 +01:00
Palash Tyagi
ba1e2b3d43 update imports and module docstring 2025-05-01 23:14:37 +01:00
Palash Tyagi
a0a551c7d9 update into_vec, from_vec 2025-05-01 23:13:57 +01:00
Palash Tyagi
7cf41171a8 Allow creation of 0-row matrices from empty column data and improve data flattening in from_cols method. 2025-05-01 23:12:19 +01:00
Palash Tyagi
38c5c28454 Enhance matrix assertions for row and column operations to allow 0-row matrices with empty columns and improve error messages for index out of bounds. 2025-05-01 23:10:51 +01:00
Palash Tyagi
caaf8c9411 Refactor test module imports 2025-04-27 01:41:38 +01:00
Palash Tyagi
0856364f4c included ops module 2025-04-26 17:22:23 +01:00
Palash Tyagi
f4dbf2a5d3 Add unit tests for SeriesOps and BoolOps implementations in Frame 2025-04-26 17:21:27 +01:00
Palash Tyagi
68ff90b0ba Implement SeriesOps and BoolOps traits for Frame, adding matrix delegation methods 2025-04-26 15:24:40 +01:00
Palash Tyagi
1865e90956 Improve documentation formatting for Broadcastable trait and element-wise comparison methods 2025-04-26 02:54:13 +01:00
Palash Tyagi
d0b9ab0716 Implement element-wise arithmetic operations for matrices with scalars and add corresponding unit tests 2025-04-26 02:49:43 +01:00
Palash Tyagi
2ff4a99346 Reorganize type aliases for matrix types: move to appropriate location for clarity 2025-04-26 02:45:56 +01:00
Palash Tyagi
9b96dad956 Refactor Axis enum definition: move to appropriate location and remove duplicate 2025-04-26 02:45:18 +01:00
Palash Tyagi
6804e7ca5a Add unit test for mutable data access in Matrix 2025-04-26 02:42:38 +01:00
a188d162a7
Merge branch 'main' into matr_eq 2025-04-26 02:39:48 +01:00
Palash Tyagi
5883095bcc Add documentation comments for matrix, frame, and utils modules 2025-04-26 02:34:48 +01:00
Palash Tyagi
ebfd63d9db Add tests for broadcastable operations and fix comment formatting 2025-04-26 00:22:25 +01:00
Palash Tyagi
cf5ae8550e Refactor Matrix implementation to require Clone trait and reorder methods for clarity 2025-04-26 00:22:08 +01:00
Palash Tyagi
56bb579530 Implement broadcasting trait for matrices and enhance element-wise comparison methods 2025-04-24 23:50:20 +01:00
Palash Tyagi
21fc4a7241 Refactor element-wise comparison implementation for matrices 2025-04-24 23:39:34 +01:00
Palash Tyagi
601c1c58d0 Refactor element-wise comparison implementation for matrices 2025-04-24 23:33:04 +01:00
Palash Tyagi
ea8e1c8471 Implement element-wise equality comparison for matrices 2025-04-24 23:19:02 +01:00
Palash Tyagi
ed55e2d446 updated tests to match panic messages 2025-04-24 18:03:28 +01:00
Palash Tyagi
5d5b3408dc updating comments in bdates implementation 2025-04-23 22:51:24 +01:00
Palash Tyagi
40aaafa5de fix bad char 2025-04-23 22:49:55 +01:00
Palash Tyagi
f2c4f297a6 updating comments in frame implementation 2025-04-23 22:22:34 +01:00
Palash Tyagi
de6b419911 updating comments in frame implementation 2025-04-23 22:20:16 +01:00
Palash Tyagi
6e0606709d Remove unused comment regarding macro implementations in BoolOps 2025-04-23 19:59:18 +01:00
Palash Tyagi
284471f4aa Fix typos in documentation comments and improve clarity in cumsum_horizontal implementation 2025-04-23 19:57:46 +01:00
Palash Tyagi
c30646d5d0 updating comments 2025-04-23 18:57:38 +01:00
006a9f6ce2
Merge branch 'main' into frame_update 2025-04-21 01:43:51 +01:00
Palash Tyagi
25e3405d85 Update documentation to use rustframe::utils for BDatesList and DatesList 2025-04-21 01:27:41 +01:00
Palash Tyagi
488f101618 Update module exports to include BDatesGenerator and DatesGenerator 2025-04-21 01:27:28 +01:00
Palash Tyagi
dfd4a7ddc7 fix: specify float type in assertions for element-wise multiplication examples 2025-04-21 01:25:56 +01:00
Palash Tyagi
6d371a50e3 add unreachable pattern warnings to RowIndexLookupHelper implementations 2025-04-21 00:47:09 +01:00