Algorithm-Hardware Co-Design for Wearable BCIs: An Evolution from Linear Algebra to Transformers | IEEE Conference Publication | IEEE Xplore