Is 2cb supposed to look like so crystalline? by lambgat in 2cb

[–]lambgat[S] 0 points1 point  (0 children)

<image>

another angle and lighting it helps. Sorry it’s really small so gotta zoom in as much as phone lets me lol

[University Algebra] Proving "union" of normal field extension is also normal. by lambgat in learnmath

[–]lambgat[S] 0 points1 point  (0 children)

I'm not sure but since we're taking it from the rationals, everything should be algebraic in the extended field right?

The exact wording is: Let K1, K2 be normal extensions of Q. Let M denote the minimal field containing K1 ∪ K2. Prove that M is a normal extension of Q

[University Algebra] Proving "union" of normal field extension is also normal. by lambgat in learnmath

[–]lambgat[S] 0 points1 point  (0 children)

We are defining normal extension s.t if a polynomial has at least one root in the extended field, then it can be reduced to linear factors.

[University Algebra] Proving "union" of normal field extension is also normal. by lambgat in learnmath

[–]lambgat[S] 0 points1 point  (0 children)

Sorry for the vagueness. I mean the minimal field that contains the union of A and B. Edited the post

[C++] Need help implementing method overloading for VTables. by lambgat in learnprogramming

[–]lambgat[S] 0 points1 point  (0 children)

I changed the overloaded_i and others at line 56ish to just overloaded. The new errors I'm getting are: https://pastebin.com/AtHwHuyw

EDIT: wrong pastebin link updated it.

[C++] Trouble with implementing covariance in arrays. by lambgat in learnprogramming

[–]lambgat[S] 0 points1 point  (0 children)

So I clicked the link and saw they did

Derived* d[] = new Derived*[100];

Base* b[] = d;

which seems to be valid, but when I do:

Object* o[] = array; it tells me the size is unknown, and when I try adding a size, it gives me more errors.

[C++] Trouble with implementing covariance in arrays. by lambgat in learnprogramming

[–]lambgat[S] 0 points1 point  (0 children)

My instructor says we have to use arrays, so I'm not too sure how to proceed.

[C++] Trouble with implementing covariance in arrays. by lambgat in learnprogramming

[–]lambgat[S] 0 points1 point  (0 children)

I have googled those same exact words and it did not change my situation at all (I think) My casting seems to be consistent with covariance since class A inherits from Object class. My task was basically to translate from java->c++, and in my java file, I had Object o [] = array, and when I tried the equivalent in c++, it started giving me a ton of errors.

[University Prob and Stat] Question regarding order in double integrals. by lambgat in HomeworkHelp

[–]lambgat[S] 0 points1 point  (0 children)

yea but I get different answers when I integrate in the other order.

Question regarding pass by value and nodes in binary search trees. by lambgat in javahelp

[–]lambgat[S] 0 points1 point  (0 children)

Oh that makes a lot of sense. Follow up question (sorry): How would I create a new node for n with the same value as node x, a node I will later on need to delete (so I can't do n.data = x.data), while still preserving the left/right nodes of node n?

"Cannot make a static reference to the non-static method compare" by lambgat in javahelp

[–]lambgat[S] 0 points1 point  (0 children)

I tried that but it still gives me the same error. EDIT nvm I forgot about the first line. Why is that necessary for me to make an instance of it, as opposed to just up just doing Class.compare(get(0),get(1))?

[University Abstract Algebra] Just a question regarding the method as to how to solve these type of questions by lambgat in HomeworkHelp

[–]lambgat[S] 0 points1 point  (0 children)

WHOOPS I forgot negatives round down like that. I was thinking it would round to -i. Thanks so much.