Implemented operator algebra for boundary and discrete boundary operators